﻿@{
    Layout = "~/Views/Shared/_empty.cshtml";
}
@section head{
<link href="~/App_Themes/Guest.css" rel="stylesheet" />
<title>全站搜索_@Call.SiteName</title>
}
@section content{
    <div class="Search_top"><div class="Search_top_overlay"></div></div>
    <div class="Search_header">
        <div class="container ">
            <p class="pull-right">
                <a href="">注册会员</a>
                <a href="/user/">用户登录</a>
                <a href="/help.html">使用帮助</a>
            </p>
            <h1 class="search_logo"><a href="/"><img src="@Call.LogoUrl" alt="@Call.SiteName" class="img-responsive" /></a></h1>
        </div>
    </div>

    <div id="Div1" class="Search_headerIndex">
        <div class="container">
            <div class="row">
                <div class="col-lg-6 col-md-10 col-sm-6 col-xs-12 col-lg-offset-3 col-md-offset-2  ">
                    <div class="pull-left margin_b1em">
                        <select id="ddlnode" name="ddlnode" class="btn btn-default dropdown-toggle ">
                            <option value="-1">全部栏目</option>
                                @MvcHtmlString.Create(ViewBag.nodehtml)
                        </select>
                    </div>
                    <div class="input-group">
                        <input type="text" class="form-control input-sm" id="TxtKeyword" name="TxtKeyword" placeholder="请输入关键字" />
                        <span class="input-group-btn">
                            <input type="button" width="50" value="搜索" class="btn btn-default input-sm" id="btnSearch" name="btnSearch" onclick="search();" />
                        </span>
                    </div><!-- /input-group -->
                </div>
            </div>
        </div>
    </div>
    <div class="container Search_elit">
        <ul>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/baike" target="_blank"><i class="fa fa-university"></i></a>
                    <a href="/baike" target="_blank">百科中心</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/guest/" target="_blank"><i class="fa fa-volume-up"></i></a>
                    <a href="/guest/" target="_blank">留言中心</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/ask" target="_blank"><i class="fa fa-puzzle-piece"></i></a>
                    <a href="/ask" target="_blank">问答中心</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/index" target="_blank"><i class="fa fa-ship"></i></a>
                    <a href="/index" target="_blank">论坛</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/dai/" target="_blank"><i class="fa fa-thumbs-up"></i></a>
                    <a href="/dai/" target="_blank">在线试戴</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/office" target="_blank"><i class="fa  fa-beer"></i></a>
                    <a href="/office" target="_blank">OA办公</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/plat" target="_blank"><i class="fa  fa-modx"></i></a>
                    <a href="/plat" target="_blank">能力中心</a>
                </div>
            </li>
            <li class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="Search_elitprj">
                    <a href="/Class_2/Default.aspx" target="_blank"><i class="fa fa-shopping-bag"></i></a>
                    <a href="/Class_2/Default.aspx" target="_blank">线上商城</a>
                </div>
            </li>
        </ul>
    </div>
}
@section script{
<script>
    function search() {
        var node = $("#ddlnode").val();
        var keyword = $("#TxtKeyword").val();
        location = "/Search/SearchList?node=" + node + "&keyword=" + encodeURI(keyword);
    }
</script>
}